

<div class="x-body">
  <form class="layui-form form_single" action="{:url()}" method="post">
    <div class="layui-form-item">
      <label  class="layui-form-label">
        {if condition="$type eq 1"}心语标题{else/}履历标题{/if}
      </label>
      <div class="layui-input-block">
        <input type="text" id="username" name="name" onchange="this.value=this.value.substring(0, 30)" onkeydown="this.value=this.value.substring(0, 30)" onkeyup="this.value=this.value.substring(0, 30)" value="{$info['name']|default=''}"
               autocomplete="off" class="layui-input" >
      </div>
      <div style="color: red !important;" class="layui-form-mid layui-word-aux">
        （{if condition="$type eq 1"}心语标题{else/}赌王履历{/if}）
      </div>

    </div>

    <div class="layui-form-item">
      <label class="layui-form-label">
        <span class="x-red">*</span>{if condition="$type eq 1"}心语内容{else/}赌王履历{/if}
      </label>
      <div class="layui-input-block">
        <textarea class="form-control textarea_editor" name="describe" >{$info['describe']|default=''}</textarea>
        {:widget('editor/index', array('name'=> 'describe','value'=> ''))}
      </div>
    </div>


    <div class="box-footer">

      <input type="hidden" name="id" value="{$info['id']|default='0'}"/>
      <input type="hidden" name="type" value="{$type}"/>
      {include file="layout/edit_btn_group"/}

    </div>

  </form>
</div>


